package com.hdwx.weike.service.impl;

import com.hdwx.weike.dao.HotSearchDao;
import com.hdwx.weike.service.IHotSearchService;

import java.util.List;

/**
 * Created by hdwx on 2017/1/5.
 */
public class HotSearchServiceImpl implements IHotSearchService{
    HotSearchDao hotSearchDao = new HotSearchDao();
    //处理用户搜索的关键词
    @Override
    public boolean dealSearchKey(String searchKey) {
        return hotSearchDao.dealSearchKey(searchKey);
    }
    //查询热搜关键词
    @Override
    public List<String> queryHotKey() {
        return hotSearchDao.queryHotKey();
    }
}
